package com.cy.personer.mapper;

import com.cy.personer.bean.Desk;
import com.cy.personer.bean.Remark;
import com.cy.personer.bean.Work;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RemarkMapper {
    public List<Remark> remarkList(@Param("work") Work work, @Param("desk") Desk desk);
    public List<Desk> desks();
    public boolean addRemark(Remark remark);
    public boolean delRemark(Integer remarkId);
    public Remark queryRemark(Integer remarkId);
    public boolean updateById(Remark remark);
}
